-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
http2: propagate session destroy code to streams #28435
Conversation
cc: @nodejs/http2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What do you think is the correct semver level for this? semver-minor or patch?
The current behavior definitely seems like a bug to me, but it's also a behavior change. I'd be OK with patch or major. |
Hey, sorry I didn't get back on the twitter dm on this @cjihrig... propagating the code is fine, I think, at least for http2 (later, for http3, those semantics will be much more clearly defined). |
CI: https://ci.nodejs.org/job/node-test-pull-request/24118/ EDIT(cjihrig): CI was green. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM as a patch.
I would recommend a CITGM run anyway.
cc @jasnell
https://ci.nodejs.org/view/Node.js-citgm/job/citgm-smoker/1891/ |
CITGM finished running, if anyone is comfortable interpreting the results. |
Currently, when an HTTP2 session is destroyed with a code, that code is not propagated to the destroy() call of the session's streams. This commit forwards any code used to destroy a session to its corresponding streams. PR-URL: nodejs#28435 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
Currently, when an HTTP2 session is destroyed with a code, that code is not propagated to the destroy() call of the session's streams. This commit forwards any code used to destroy a session to its corresponding streams. PR-URL: #28435 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
Currently, when an HTTP2 session is destroyed with a code, that code is not propagated to the destroy() call of the session's streams. This commit forwards any code used to destroy a session to its corresponding streams. PR-URL: #28435 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
Currently, when an HTTP2 session is destroyed with a code, that code is not propagated to the
destroy()
call of the session's streams. This commit forwards any code used to destroy a session to its corresponding streams.Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes